﻿<table cellspacing="0" cellpadding="0" class="cssgrid">
    <tbody>
        <tr class="category">
            <td width="30px" align="center" class="headercart productcategory" style="border-top: 1px solid #99BBE8;">
                <span class="norB">STT</span>
            </td>
            <td width="120px" align="center" class="headercart" style="border-top: 1px solid #99BBE8;">
                <span class="norB">Tài khoản</span>
            </td>
            <td width="180px" align="center" class="headercart" style="border-top: 1px solid #99BBE8;">
                <span class="norB">Họ và tên</span>
            </td>
            <td width="100px" align="center" class="headercart" style="border-top: 1px solid #99BBE8;">
                <span class="norB">Ngày sinh</span>
            </td>
            <td width="160px" align="center" class="headercart" style="border-top: 1px solid #99BBE8;">
                <span class="norB">YM</span>
            </td>
            <td width="100px" align="center" class="headercart" style="border-top: 1px solid #99BBE8;">
                <span class="norB">Điện thoại</span>
            </td>
            <td width="80px" align="center" class="headercart" style="border-top: 1px solid #99BBE8;">
                <span class="norB">Trạng thái</span>
            </td>
            <td width="120px" align="center" class="headercart" style="border-top: 1px solid #99BBE8;">
                <span class="norB">Ngày tạo</span>
            </td>
            <td width="120px" align="center" class="headercart" style="border-top: 1px solid #99BBE8;">
            </td>
            <td width="60px" align="center" style="border-top: 1px solid #cccccc;" class="headercart">
            </td>
        </tr>
        {#foreach $T.Items as admin}
        <tr>
            <td width="30px" align="center" class="headercart productcategory" id="divItem">
                <span>{$T.admin.RowNumber}</span>
            </td>
            <td width="120px" align="center" class="headercart">
                <span>{$T.admin.UserName}</span>
            </td>
            <td width="180px" align="center" class="headercart">
                <span>{$T.admin.FullName}</span>
            </td>
            <td width="120px" align="center" class="headercart">
                {#if ($T.admin.Birthday!=null) }
                <span>{COMMON.jSonDateToString($T.admin.Birthday,1)}</span>
                {#else}
                <span></span>
                {#/if}
            </td>
            <td width="160px" align="center" class="headercart">
                {#if ($T.admin.YM!=null) }
                <span>{$T.admin.YM}</span>
                {#else}
                <span></span>
                {#/if}
            </td>
            <td width="100px" align="center" class="headercart">
                {#if ($T.admin.Phone!=null) }
                <span>{$T.admin.Phone}</span>
                {#else}
                <span></span>
                {#/if}
            </td>
            <td width="80px" align="center" class="headercart">
                <span>{Pages_ListAdmin.convertStatus($T.admin.Status)}</span>
            </td>
            <td width="120px" align="center" class="headercart">
                <span>{COMMON.jSonDateToString($T.admin.CreateDate,1)}</span>
            </td>
            <td width="120px" align="center" class="headercart">
                <div id="edit{$T.admin.AdminId}" class="select_function">
                    <a id="aEditAdmin"><span style="cursor: pointer">Xem chi tiết</span></a></div>
            </td>
            <td width="60px" align="center" class="headercart">
                <div id="delete{$T.admin.AdminId}" class="select_function" style="width: 40px">
                    <a id="aDeleteAdmin"><span style="cursor: pointer">Xóa</span></a></div>
            </td>
        </tr>
        {#/for}
    </tbody>
</table>
